package com.pi.iot.repository.huawei.bean.notify.command;

import com.alibaba.fastjson.JSON;
import com.pi.iot.repository.huawei.constants.CommandResultCode;

/**
 * 指令返回结果业务类
 * 
 * @author chenmfa@163.com
 * @date 2019年8月24日01:15:30
 */
public class CommandResult {
  /**
   * 结果详情
   */
  private CommandResultDetail resultDetail;
  /**
   * 返回的结果码
   */
  private CommandResultCode resultCode;
  public CommandResultDetail getResultDetail() {
    return resultDetail;
  }
  public void setResultDetail(CommandResultDetail resultDetail) {
    this.resultDetail = resultDetail;
  }
  public CommandResultCode getResultCode() {
    return resultCode;
  }
  public void setResultCode(CommandResultCode resultCode) {
    this.resultCode = resultCode;
  }
  @Override
  public String toString() {
    return JSON.toJSONString(this);
  }
}
